<script>
function hide_left_div()
{	
if(document.getElementById('left_search_show').style.display=='none')
	document.getElementById('left_search_show').style.display='';
else
	document.getElementById('left_search_show').style.display='none';	


}

</script>

<link href="css/new_global.css" rel="stylesheet" type="text/css" />

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form method="POST" name="top_search" action="left_search.php" enctype="multipart/form-data">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="10"><img src="images/admob-leftPanelTopLeft.jpg" alt="" width="10" height="34" /></td>
                <td class="admob-LeftPanelTopLeft"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="admob-leftPanelWhiteContent">
                  <tr>
                    <td><a href="" class="admob-leftlink">Search Sites</a></td>
                    <td align="right"><a href="favList.php" class="admob-leftlink">My Favourites</a></td>
                  </tr>
                </table></td>
                <td width="10"><img src="images/admob-leftPanelTopRight.jpg" alt="" width="10" height="34" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td valign="top" class="admob-LeftPanelMiddleBg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><table border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="65" height="30" class="GreyBoldContent">Keyword :</td>
                        <td><input type="text" name="keyword" id="keyword" class="admob-InputBox" /></td>
                      </tr>
                      <tr>
                        <td height="30" class="GreyBoldContent">Product :</td>
                        <td><select name="product" id="product" class="admob-InputBox">
									<option value="all">All</option>
									<option value="text">Text</option>
									<option value="banner">Banner</option>
									<option value="thumbnail">Thumbnail</option>
									</select>			</td>
                      </tr>
                      <tr>
                        <td height="30">&nbsp;</td>
                        <td align="right"><input type="submit" name="key_word_search" class="admob-InputButton" value="Search" /></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td><img src="images/spacer.gif" alt="" width="10" height="10" /></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td class="admob-LeftPanelTitleBg">Category</td>
                  </tr>
                 <tr>
									<TD align="left" >
							
									<select name="categoryList[]" id="categoryList" multiple="multiple" style="border:0px solid #ffffff; height:100px; width: 243px; padding-left:4px;" size="6">
									<option value="all" selected="selected">All Category</option>
									<?php
									$SQL="select * from adcategories where langId='1' and status='Y'";
									$RS=mysql_query($SQL) or die(mysql_error());
									while($ROW=mysql_fetch_array($RS))
									{
									?>
									<option value="<?php  echo $ROW['adcategoryId']?>"><?php  echo $ROW['categoryName']?></option>
									<?php
									}
									?><?php ?>
                                    </select>							</TD>
				  </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td class="admob-LeftPanelTitleBg">Geography</td>
                  </tr>
                  <tr>
									<TD align="left">
										<select multiple="multiple" id="countryList" name="countryList[]" style="border:0px solid #ffffff; height:100px;width: 243px; padding-left:4px;" size="6">
											<option value="all" selected="selected">All</option>
<?php 
$res_country = mysql_query("select * from country");
while($row_country = mysql_fetch_array($res_country))
{
?>
				<option value= "<?php echo $row_country['countryId'];?>"><?php echo $row_country['countryName'];?></option>
<?php } ?><?php ?>
										</select></TD>
				  </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="93%" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td height="30" align="right"><input name="left_bottom_search" type="submit" class="admob-InputButton" value="Search" /></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="11"><img src="images/admob-leftPanelBottomLeft.jpg" alt="" width="11" height="11" /></td>
                <td class="admob-LeftPanelBottomBg"><img src="images/spacer.gif" alt="" width="10" height="11" /></td>
                <td width="11"><img src="images/admob-leftPanelBottomRight.jpg" alt="" width="11" height="11" /></td>
              </tr>
            </table></td>
          </tr>
</form></table>